package com.bootdo.appsystem.dao;

import com.bootdo.appsystem.domain.SellerDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
@Mapper
public interface SellerDao {

	SellerDO get(Integer sellerid);

	SellerDO getSellerByUserId(Integer userId);
	
	List<SellerDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SellerDO seller);
	
	int update(SellerDO seller);
	
	int remove(Integer SellerID);
	
	int batchRemove(Integer[] sellerids);

	List<SellerDO> listGoodsTJ();
}
